Manager: Memory Management Utilities
While Carbon supports most of the Memory Management Utilities, there are changes to functions that assume a 68K runtime environment.
* Functions that flush caches on 68K processors (such as FlushInstructionCache, FlushDataCache, and FlushCodeCacheRange) are no longer supported.
* Functions such as SetA5 or SetCurrentA5 do nothing when running in Mac OS X. However, these functions should work normally when running in Mac OS 8.
* The functions GetMMUMode and SwapMMUMode are not supported because all PowerPC applications use 32-bit addressing, even if they are not Carbon–compliant.
* The SysEnvirons function is no longer supported since the Gestalt Manager can provide the same information. You should call the functions FindFolder and Gestalt instead.
CallDeferredTaskProc
DeferredTaskProcPtr
Delay
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
Dequeue
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
DisposeDeferredTaskUPP
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
DTInstall
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
Enqueue
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
FlushCodeCache
68K-specific.
FlushCodeCacheRange
68K-specific. Not available in Carbon.
FlushDataCache
68K-specific.
FlushInstructionCache
68K-specific. Use MakeDataExecutable on PowerPC machines.
GetMMUMode
Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.
GetSysPPtr
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
InitUtil
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
InvokeDeferredTaskUPP
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
IsMetric
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
MakeDataExecutable
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
NewDeferredTaskUPP
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
ReadLocation
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SetA5
68K-specific. Does nothing in PowerPC native code. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SetCurrentA5
68K-specific. Does nothing in PowerPC native code. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
SwapDataCache
SwapInstructionCache
SwapMMUMode
Not necessary on PowerPC, since all native PowerPC applications use 32-bit addressing.
SysEnvirons
Uses working directories. Use FindFolder and Gestalt instead. Not available in Carbon.
TickCount
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
WriteLocation
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
WriteParam
Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
[Table of Contents] [Manager Index] [Function Index]
Generated on: 8/1/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.